/*=================================================================================
 * namespace Global:  The global variables
 *				      The type number of the difference and time-advance scheme
 *=================================================================================*/

#ifndef GLOBAL
#define GLOBAL

namespace Global
{
	/* Type definition of reaction scheme */
	typedef enum
	{
		Trapezoid,
		IMEX,
		DNN
	} REACT;

	/* Type definition of difference scheme */
	typedef enum
	{
		MUSCL_1,
		MUSCL_2,
		WENO
	} DIFF;

	/* Type definition of time-advance scheme */
	typedef enum
	{
		EE,
		TVD_RK3
	} ADV;

	/* Judge the input sentence */
	int SenJud(char *sentence);

	/* Split the sentence into parameters and its value */
	void ParaGet(char *sentence, char *parameter, char *value);

}

#endif

extern int num_thread;

